Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / NamedObjectCollection<T> Class / Item Property / Item(String) Property
The item's name.


Item(String) Property
Gets or sets the element with the specified name.
Syntax
'Declaration
 
Public Overloads Overridable Property Item( _
   ByVal name As String _
) As T
 
'Usage
 
Dim instance As NamedObjectCollection(Of T)
Dim name As String
Dim value As T
 
instance.Item(name) = value
 
value = instance.Item(name)

Parameters

name
The item's name.

Property Value

An INamedObject value that indicates the specified item.
Exceptions
ExceptionDescription
The assigned value is a null reference (Nothing in Visual Basic).
The item associated with the name cannot be found.
See Also